home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Future Windows
/
Future Windows.iso
/
utility
/
rktools
/
infinst.inf
< prev
next >
Wrap
INI File
|
1995-06-02
|
4KB
|
99 lines
; infinst.INF
; This is the Setup information file to install the animated cursor editor
; Copyright (c) 1993-1995 Microsoft Corporation
[version]
LayoutFile=rklayout.inf
signature="$CHICAGO$"
SetupClass=BASE
[DestinationDirs]
Register.Copy = 17 ; LDID_INF
rklayout.copy = 17 ; LDID_INF
infinstCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE% ; LDID_APPS\Program Files\Resource Kit
[Optional Components]
infinst
[infinst]
OptionDesc = %infinst_Desc%
Tip = %infinst_TIP%
CopyFiles = infinstCopyFiles, Register.Copy, rklayout.copy
UpdateInis = infinst.Inis
AddReg = infinstReg, infinst.install.reg, Register.AddReg
InstallType = 0 ;Manual only
IconIndex = 4 ;Default (diamond) mini-icon for dialogs
Uninstall = infinst_remove
[infinst_remove]
DelFiles = infinstCopyFiles, Register.Copy
DelReg = UnRegister.DelReg
UpdateInis = infinst.Rem.Inis
[rklayout.copy]
rklayout.inf
[Register.Copy]
infinst.inf
[infinstCopyFiles]
infinst.exe
infinst.txt
[Register.AddReg]
;Create entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\infinst,DisplayName,,%uninstall_Desc%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\infinst,UninstallString,,"RunDll setupx.dll,InstallHinfSection infinst_Remove 4 infinst.INF"
[UnRegister.DelReg]
;Remove entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\infinst
[infinstReg]
; create the long-name for "Program Files"
; Note that when you rename a long name, VFAT changes the short name from
; foobar~1 to foobar~2. To avoid this, we introduce a work around in the form of
; an intermediate rename
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
[infinst.Inis]
setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
setup.ini, group11,, """%infinst_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\infinst.EXE,,, infinst" ;creates link
[infinst.Rem.Inis]
setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
setup.ini, group11,, """%infinst_Desc%""" ;deletes link
[Strings]
RKTOOLS_DESC = "Resource Kit"
infinst_Desc = "INF Installer"
uninstall_Desc = "INF Installer"
infinst_TIP = "Allows you to add INF files to a server-based setup configuration."
DSK = "Windows 95 Resource Kit"
; Directory names - note that that short versions must match the truncated
; 8 char names for the long versions, or else there will be problems.
; also need to put the short versions in the [DestinationDirs] section above
; Used by wordpad, hypertrm, backup, paint, & MSN
Program_Files = "Program Files"
PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1"
OEM_PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
ResourceKit = "Resource Kit"
RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1"
OEM_RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1" - in OEM codepage (not Ansi)